import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: syyyy
 * Date: 2025-07-15
 * Time: 15:39
 */

public class demo2 {
    public static int Max2(int a,int b){
        if(a>b){
            return a;
        }else{
            return b;
        }
    }

    public static int Max3(int a,int b,int c){
        int max=Max2(a,b);
        int max2=Max2(max,c);
        return max2;
    }

    public static int Sum(int a,int b){
        return a+b;
    }

    public static double Sum(double a,double b,double c){
        return a+b+c;
    }

    public static double Max2(double a,double b){
        if(a>b){
            return a;
        }else{
            return b;
        }
    }

    public static double Max3(double a,double b,double c){
        double max=Max2(a,b);
        double max2=Max2(max,c);
        return max2;
    }




    public static void main(String[] args) {
//        Scanner scanner=new Scanner(System.in);
//        int a=scanner.nextInt();
//        int b=scanner.nextInt();
//        int max1=Max2(a,b);
//        System.out.println(max1);
//        System.out.println("*****************************");
//        int c=scanner.nextInt();
//        int max2=Max3(a,b,c);
//        System.out.println(max2);
//        System.out.println("*****************************");
        int sum1=Sum(3,4);
        double sum2=Sum(3.0,1.2,4.5);
        System.out.println(sum1+" "+sum2);
    }
}
